﻿using BW.MesProject.Public.ErrorCode;
using BW.MesProject.WareHouse.Domain;
using BW.MesProject.WareHouse.Infrastructure.Dto.Input;
using BW.MesProject.WareHouse.Infrastructure.Dto.OutPut;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Infrastructure
{

    public interface IProcessclassServices
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<int> AddProcessClass(ProcessclassModel model);

        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<List<ProcessclassOut>> GetProcessclass(QryInput qryInput);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ApiResult<int> UpdateProcessclass(ProcessclassModel model);

        /// <summary>
        /// 启用停用
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        ApiResult<int> UpdateEnable(ProcessclassModel model);

        /// <summary>
        /// 软删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        ApiResult<int> UpdateDelete(string PCId);

        ApiResult<int> GetPCId(string PCId);
    }
}
